package com.pronosticnews.server.services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.pronosticnews.client.services.StadeService;
import com.pronosticnews.server.domain.dao.StadeDao;
import com.pronosticnews.server.domain.model.Stade;
import com.pronosticnews.shared.model.StadeDto;

import fr.ysa.persistence.IDao;
import fr.ysa.services.ImplService;

@Service("stadeService")
@Transactional
public class StadeServiceImpl extends ImplService<Stade, StadeDto> implements
		StadeService {

	@Autowired
	StadeDao stadeDao;

	@Override
	public IDao<Stade> getDao() {
		return stadeDao;
	}

	@Override
	public Class<Stade> getEntityClass() {
		return Stade.class;
	}

	@Override
	public Class<StadeDto> getEntityDtoClass() {
		return StadeDto.class;
	}

}
